package com.basicservice.service;

import org.owasp.appsensor.AppSensorIntrusion;
import org.owasp.appsensor.intrusiondetection.ResponseAction;
import org.owasp.appsensor.intrusiondetection.reference.DefaultResponseAction;

public class ResponseActionCustomImpl extends DefaultResponseAction {
	private static volatile ResponseAction mySingletonInstance;

    public static ResponseAction getInstance()
    {
        if ( mySingletonInstance == null ) {
            synchronized ( ResponseActionCustomImpl.class ) {
                if ( mySingletonInstance == null ) {
                	mySingletonInstance = new ResponseActionCustomImpl();
                }
            }
        }
        return mySingletonInstance;
    }
	 
	@Override
	public boolean handleResponse(String action, AppSensorIntrusion currentIntrusion) {
	   return super.handleResponse(action, currentIntrusion);
	}
	
}
